/*
 * @Author: Starfish_DL
 * @Date: 2020-09-30 18:12:15
 * @LastEditors: Starfish_DL
 * @LastEditTime: 2020-09-30 20:28:58
 * @CurrentVersion: 1.0
 * @Description: 
 */

public class TestPerson {
    public static void main(String[] args) {
        //tag 作业第一题
        Person b=new Person("Mike",16,"MIT","software engineering");
        b.printMessage();

        //tag 作业第五题
        //Point p1=new Point(4, 5, 2);
        //System.out.println(p1.distance());

        //tag 作业第六题
        TriAngle t1=new TriAngle();
        t1.setBase(6);
        t1.setHeight(8);
        int s=t1.getBase()*t1.getHeight()/2;
        System.out.println(s);
    }
}
